.f-datagrid-settings {
    .header {
        position: relative;
        width: 100%;
        height: 56px;
        padding: 0 24px;
        border: 0px;

        .title {
            display: block;
            white-space: nowrap;
            font-size: 17px;
            line-height: 56px;
        }

        .tabs {
            height: 32px;
            top: 12px;
            font-size: 14px;
            position: relative;
            line-height: 32px;

            .tabs-labels {
                background: $f-aid-04;
                border-radius: 17px;
                color: $f-text-05;

                .navitem.active {
                    color: $f-theme-04;
                    cursor: default;
                    background-color: transparent;
                }

                .active-tab {
                    position: absolute;
                    width: 68px;
                    z-index: 1;
                    transition: .18s ease-in;
                    line-height: 28px;
                    margin: 2px;
                    height: 28px;
                    background: rgba(255, 255, 255, .9);
                    box-shadow: 0 4px 18px 0 rgba(2, 75, 193, .2);
                    border-radius: 15px;
                    transform: translate3d(0px, 0px, 0px);
                }
            }

        }

        .close {
            line-height: 56px;
            padding: 0;
            width: 20px
        }
    }

    .tabs-container {
        height: 100%;
        overflow: hidden;
        position: relative;
        margin: 0 24px;
        border: 1px solid $f-neutral-05;
        border-radius: 8px;
    }

    .buttons {
        height: 66px;
        text-align: right;
        padding: 14px 24px 20px 24px;

        button {
            width: 66px;
            height: 32px;
        }

        .cancel {
            margin-left: 12px;
            margin-right: 8px;
        }

        .ok {
            width: 100px;
        }
    }

    .dg-column-format-setting>div {
        width: 360px;
        min-width: 260px;
        overflow: hidden;
        background: #ffffff;
        padding: 10px 5px 10px 8px;
        border-right: 1px solid $f-neutral-05;
    }

    .dg-column-format-setting .checkbox,
    .format-setting-column .checkbox {
        margin-right: 5px;
        font-size: 14px;
        color: $f-theme-05;
    }

    .column-group-setting {
        .title {
            height: 36px;
            line-height: 36px;
            color: $f-theme-05;
        }

        .all-fields {
            background-color: #fff;
            padding-top: 0px !important;
        }

        .group-sum-fields {
            height: 36px;
            line-height: 36px;
            border-top: 1px solid $f-neutral-13;
            color: $f-theme-05
        }
    }


}



.smooth-dnd-ghost.format-setting-column {
    border: 1px solid $f-theme-03;
    z-index: 999999999 !important;
    background-color: $f-aid-02;
    padding: 4px 8px;
    color: rgb(0, 0, 0);
}

.smooth-dnd-ghost.format-setting-column .field-drag-handle {
    float: right;
}

.dg-column-format-setting .smooth-dnd-drop-preview-constant-class {
    background-color: $f-neutral-05;
}

.dg-column-format-setting .format-setting-column {
    background: #fafbfd;
    padding: 4px 8px;
    margin-bottom: 5px;
    border: 1px solid #f2f4f8;
    border-radius: 5px;
}

.dg-column-format-setting .format-setting-column.active {
    color: rgb(0, 0, 0);
    border: 1px solid $f-theme-03;
    background: $f-aid-02;
    border-top: 1px solid $f-theme-03 !important;
    border-bottom: 1px solid $f-theme-03 !important;
}

.dg-column-format-setting .format-setting-column .field-drag-handle {
    float: right;
    cursor: grab;
}

.dg-column-format-setting .format-setting-column .field-drag-handle:active {
    cursor: grabbing;
}

.f-datagrid-settings-simple {
    position: fixed;
    top: 100px;
    right: -500px;
    z-index: 10;
    height: calc(100vh - 100px);
    width: 468px;
    background: #FFFFFF;
    border: 1px solid $f-neutral-06;
    border-radius: 10px 0 0 10px;
    transition: right ease 0.3s;
}

.f-datagrid-settings-simple:focus {
    outline: none;
}

.f-datagrid-settings-simple .header {
    height: 50px;
    line-height: 50px;
    border-bottom: 1px solid #EAEDF3;
    font-size: 18px;
    color: #2D2F33;

    .scheme-name {
        border-radius: 6px;
        color: $f-theme-03;
        background: #ebf4ff;
        height: 28px;
        align-items: center;
    }
}

.f-datagrid-settings-simple .header .title {
    padding-left: 21px;
    font-weight: bold;
    align-items: center;
}

.f-datagrid-settings-simple .header .closed {
    width: 50px;
    text-align: center;
    cursor: pointer;
}

.f-datagrid-settings-simple .content .count {
    font-size: 14px;
    color: #2D2F33;
}

.f-datagrid-settings-simple .content .tip {
    background: #f7faff;
    border-radius: 6px;
    line-height: 20px;
    margin-bottom: 10px;
    min-height: 42px;
    align-items: center;
    display: flex;
    padding: 5px;
}

.f-datagrid-settings-simple .content .checkall {
    margin-left: 5px;
    font-size: 14px;
    color: $f-theme-05;
    margin-right: 5px;
}

.f-datagrid-settings-simple .content {
    margin: 20px 24px;
}

.f-datagrid-settings-simple .footer {
    height: 32px;
    margin: 20px;
}


.smooth-dnd-ghost.format-setting-column {
    z-index: 999999999 !important;
    padding: 4px 8px;
    background-color: $f-aid-02;
    border: 1px solid $f-theme-03;
}

.smooth-dnd-ghost.format-setting-column .field-drag-handle {
    float: right;
}

.f-datagrid-settings-simple .smooth-dnd-drop-preview-constant-class {
    background-color: $f-neutral-05;
}

.f-datagrid-settings-simple .format-setting-column {
    background: #fafbfd;
    padding: 4px 8px;
    margin-bottom: 5px;
    border: 1px solid #f2f4f8;
    border-radius: 5px;
    color: #000;
}

.f-datagrid-settings-simple .format-setting-column.active {
    border: 1px solid $f-theme-03;
    background: #e7f1ff;
    border-top: 1px solid $f-theme-03 !important;
    border-bottom: 1px solid $f-theme-03 !important;
}

.format-setting-column .checkbox {
    font-size: 14px;
    color: $f-theme-05;
    margin-right: 5px;
    cursor: pointer;
}

.f-datagrid-settings-simple .format-setting-column .field-drag-handle {
    float: right;
    cursor: grab;
}

.f-datagrid-settings-simple .format-setting-column .field-drag-handle:active {
    cursor: grabbing;
}

.f-datagrid-settings-simple .list-group-flush:last-child .list-group-item:last-child {
    border-bottom: 1px solid #f2f4f8;
}

.f-datagrid-settings-simple .list-group-flush:first-child .list-group-item:first-child {
    border-top: 1px solid #f2f4f8;
}

.f-datagrid-settings-simple .buttons {
    text-align: right;
}

.f-datagrid-settings-simple .buttons button {
    width: 66px;
    height: 32px;
}

.f-datagrid-settings-simple .buttons .cancel {
    margin-left: 12px;
    margin-right: 8px;
}

.f-datagrid-settings-simple .buttons .ok {
    width: 100px;
}

.f-datagrid-settings-simple .buttons .advanced {
    width: 66px;
    height: 32px;
    float: left;
}

.f-datagrid-settings-simple-host {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2030;
}

.f-datagrid-settings-simple .visible-cols-count {
    font-size: 18px;
    font-weight: 500;
}

.scheme-manager-dropdown {
    z-index: 1000;
    position: absolute;
    top: 50px;
    width: 230px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #eaedf3;
    left: 95px;
    box-shadow: 0 2px 12px 0 #d8dce6;
}

.scheme-manager-dropdown::before {
    content: "";
    position: absolute;
    border: 10px solid transparent;
    bottom: 100%;
    left: 20px;
    border-bottom-color: #e3e3e3;
}

.scheme-manager-dropdown::after {
    content: "";
    position: absolute;
    border: 10px solid transparent;
    bottom: 100%;
    left: 20px;
    border-bottom-color: #fff;
    margin-bottom: -1px;
}

.scheme-manager__button-add {
    align-items: center;
    justify-content: center;
}

.scheme-manager__button-add>button {
    background: #fff;
    width: 100%;
    height: 32px;
    border: 1px dashed #b9d8ff;
    border-radius: 6px;
    cursor: pointer;
}

.scheme-manager__button-add>button:focus {
    outline: none;
}

.scheme-manager__button-add>button>span.f-icon {
    position: relative;
    top: 2px
}

.scheme-manager__button-add>button:hover {
    background: $f-theme-03;
    color: #fff;
}

.scheme-manager__search-box {
    border-radius: 5px;
}

.scheme-manager__search-box .input-group-append {
    width: 30px;
    background: transparent;
    color: #B4BCCC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scheme-manager__item {
    line-height: 30px;
    padding: 2px 10px;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
}

.scheme-manager__item:hover {
    background-color: #F7F8FB;
}

.scheme-manager__item.active {
    background: #cbe1ff;
    color: $f-theme-01;
}

#only-visible-columns .switch-small {
    min-width: 1.88rem;
    height: 0.85rem;
}

#only-visible-columns .switch-small small {
    width: 0.775rem;
    height: 0.775rem;
    left: 1px;
    top: 0px;
}

#only-visible-columns .switch.switch-small.checked small {
    right: 1px;
    left: auto;
}

.f-datagrid-save-scheme {
    .header {
        height: 50px;
        align-items: center;
        cursor: move;
        border-bottom: 0;

        .title {
            font-size: 17px;
            color: #2D2F33;
            font-weight: 500;
            margin-left: 20px;
        }
    }
}

.f-datagrid_scheme-switch .switch-medium {
    min-width: 1.88rem !important;
    height: .85rem !important;
}

.scheme-manager__label {
    border-radius: 4px;
    font-size: 12px;
    height: 18px;
    min-width: 32px;
    align-items: end;
    line-height: 16px;
    text-align: center;

    &.default {
        border: 1px solid green;
        color: green;
        background: #F0F9F2;
    }

    &.public {
        border: 1px solid #4075fa;
        color: #4075fa;
        background: #ecf2ff;
    }

    &.private {
        border: 1px solid #d8dce6;
        color: #878d99;
        background: #f7f8fb;
    }

    &.org {
        border: 1px solid #f4883e;
        color: #e46700;
        background: #fff9eb;
    }

}

.scheme-org-tip {
    padding-left: 5px;
    color: #878d99;
    font-size: 12px;
}


.icon-question {
    width: 16px;
    border-radius: 20px;
    height: 16px;
    text-align: center;
    vertical-align: middle;
    line-height: 15px;
    font-size: 10px;
    margin-left: 10px;
    background: #EAF4FF;
    color: $f-theme-03;
    cursor: pointer
}

.icon-question:hover {
    background: $f-theme-03;
    color: #fff;
}


.column-group-setting {
    height: 100%;
    background-color: #ffffff;
    padding: 0 10px 10px 10px
}

.smooth-dnd-ghost.group-field {
    z-index: 999999999 !important;
}

.column-group-setting .group-field {
    float: left;
    max-width: 200px;
    margin-right: 10px;
    width: auto;
    padding: 5px;
    padding-right: 30px;
    border-radius: 20px;
    padding-left: 10px;
    cursor: move
}

.group-field .f-icon {
    position: absolute;
    right: 2px;
    top: 7px;
}

.btn-add-groupfield {
    float: left;
    width: 32px;
    padding: 0px;
    padding-top: 3px;
    border-radius: 20px;
}

.group-field-panel {
    height: 260px;
    border-radius: 5px;
    z-index: 3;
    position: absolute;
    background: rgb(255, 255, 255);
    box-shadow: 1px 1px 4px rgba(156, 155, 155, 75%);
    overflow: hidden;
    overflow-y: auto;
}

.group-field-panel ul {
    display: inline-block;
    margin: 20px;
    margin-top: 5px;
}

.group-field-panel li {
    float: left;
    cursor: pointer;
    max-width: 200px;
    margin-right: 10px;
    width: auto;
    padding: 10px;
    min-width: 80px;
    margin-top: 15px;
    text-align: center;
}

.format-setting-column {
    background: rgba(247, 248, 251, 0.6);
    padding: 7px 10px;
    margin-bottom: 5px;
    border: 1px solid rgba(233, 236, 243, 0.45);
    border-radius: 5px;
}

.format-setting-column.active {
    border: 1px solid $f-theme-03;
    background: rgb(239, 247, 255);
    border-top: 1px solid $f-theme-03 !important;
    border-bottom: 1px solid $f-theme-03 !important;
}